﻿namespace FFF.Test.Entity.Demo
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 课程表
    /// </summary>
	[Table("Demo_Course")]
    [Display(Name = "课程表", Description = "课程表")]
    [AutoMapFrom(typeof(ViewDemoCourse))] 
    public partial class DemoCourseEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("CourseGUID")]
        [Display(Name = "课程表主键", Description = "课程表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 课程名称
        /// </summary>
		[Display(Name = "课程名称", Description = "课程名称")]
        [Column("CourseName")]
		[StringLength(256)]
        public string CourseName { get; set; }   
    }
}
